import request from '@/utils/request'

export function list(parameter) {
  return request({
    url: '/ChemChemistry/GetPageData',
    method: 'get',
    params: parameter
  })
}


export function getDetail(parameter) {
  return request({
    url: '/ChemChemistry/GetDetailChemistryEntity',
    method: 'get',
    params: parameter
  })
}

export function EditChem(data) {
  return request({
    url: '/ChemChemistry/EditChem',
    method: 'post',
    data
  })
}